Site Payments Process API - Implementation Template

(0 reviews)

Developer guide

This document provides information generated from the DataWeave scripts included in the project, such as function definitions, variable definitions, and data mapping tables. It can be used by developers seeking a solution to process site payments using Veeva CTMS and SAP S/4HANA.

ModuleDescription
createSAPJournalEntryRequestConvert Veeva Payment Request to SAP System API Journal Entry request.

createSAPJournalEntryRequest

Convert Veeva Payment Request to SAP System API Journal Entry request.

Source: .src/main/resources/dwl/createSAPJournalEntryRequest.dwl

Mapping Tables

Maps Veeva Payment Request to SAP System API Create Journal Entry Request. Implements required fields to create a Journal Entry in SAP and can be extended as necessary.

SAP Field NameCTMS Field NameDescription
SenderSystemIdN/AConfiguration value senderSystemId from properties file
messageHeader.recipientSystemIdN/AConfiguration value recipientSystemId from properties file
journalEntry.referenceDocumentTypeN/AConfiguration value referenceDocumentType from properties file
journalEntry.referenceDocumentSystemNameN/AConfiguration value referenceDocumentSystemName from properties file
journalEntry.referenceDocumentIdpayment__v.idVeeva CTMS Payment Request Id
journalEntry.transactionTypeN/AConfiguration value transactionType from properties file
journalEntry.accountingDocumentTypeN/AConfiguration value accountingDocumentType from properties file. Constant value "KR" for Vendor Invoice
journalEntry.documentHeaderTextN/AConfiguration value documentHeaderText from properties file
journalEntry.createdByN/AConfiguration value createdBy from properties file
journalEntry.companyCodepayable_items__vr.project_code__vVeeva CTMS Payable Item Project Code
journalEntry.documentDatepayment__v.modified_date__vVeeva CTMS Payment Request Last Modified Date
journalEntry.postingDateN/ACurrent Date. Ex: now()
item.glAccountpayable_items__vr.account_code__vVeeva CTMS Payable Item Account Code
item.amount.amountpayable_items__vr.amount__vSum of all CTMS Payable Items
item.amount.currencyCodepayable_items__vr.local_currency__sysr.name__vVeeva CTMS Payable Item Local Currency
creditorItem.creditorpayable_items__vr.payee_name__vr.debtor__cVeeva CTMS Payee Debtor Code
creditorItem.amount.amountpayable_items__vr.amount__vSum of all CTMS Payable Items to be credited. Credits are negative values
creditorItem.amount.currencyCodepayable_items__vr.local_currency__sysr.name__vVeeva CTMS Payable Item Local Currency

(back to top)


Reviews

TypeTemplate
OrganizationMulesoft Inc.
Published by
MuleSoft Solutions
Published onOct 13, 2023
Asset overview

Asset versions for 1.0.x

Asset versions
VersionActions
1.0.2
1.0.0